package com.njworkorder.DTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class InspectionRegistrationAddDto {

    @Schema(description = "天气")
    private String weather;

    @Schema(description = "温度")
    private Double temperature;

    @Schema(description = "工区id")
    private String workspaceId;

    @Schema(description = "路段id")
    private String sectionId;

    @Schema(description = "上行 开始桩号")
    private String startPileNumUp;

    @Schema(description = "上行 结束桩号")
    private String endPileNumUp;

    @Schema(description = "下行 开始桩号")
    private String startPileNumDown;

    @Schema(description = "下行 结束桩号")
    private String endPileNumDown;

    @Schema(description = "巡查类型", example = "日常、特殊、夜间")
    private String inspectionType;

    @Schema(description = "巡查开始时间")
    private Date inspectionStartTime;

    @Schema(description = "巡查结束时间")
    private Date inspectionEndTime;

    @Schema(description = "巡查里程数(KM)")
    private Double inspectionMileage;

    @Schema(description = "巡查车辆id")
    private String inspectionCarId;

    @Schema(description = "巡查人员id")
    private List<String> apIds;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "数据状态", example = "2为正常状态,6为冻结状态,8为失效状态")
    private String status;

}
